package model;
import flash.geom.Point;
import graphic.RenderObject;
import phx.Vector;

/**
 * @author Damien Mabin
 */
enum E_ModelUpdateType
{
	RELOAD_MODEL;
	ADD_RENDER_OBJECT_TO_SELECTION(ro:RenderObject);
	ADD_PHYSIC_POINT_TO_SELECTION(pt:Vector);
	ADD_NEW_RENDER_OBJECT(ro:RenderObject);
	ADD_PHYSIC_POINT(previousPt:Vector, newPt:Vector);
	REMOVE_RENDER_OBJECT_FROM_SELECTION(ro:RenderObject);
	REMOVE_PHYSIC_POINT_FROM_SELECTION(pt:Vector);
	DELETE_RENDER_OBJECT(ro:RenderObject);
	MOVE_RENDER_OBJECT(ro:RenderObject);
	MOVE_PHYSIC_POINT(pt:Vector);
	MOVE_VIEW_POINT(pt:Point);
	CHANGE_ZOOM(zoom:Float);
	PREPARE_RENDER_OBJECT_CREATION(name:String, file:String);
	UPDATE_RENDER_OBJECT_PROPERTIES(ro:RenderObject);
	PREPARE_RENDER_OBJECT_PHYSIC_SHAPE_EDITION(ro:RenderObject);
	QUITE_RENDER_OBJECT_PHYSIC_SHAPE_EDITION(ro:RenderObject);
}